package com.aiassistant.model;

/**
 * 助手模型类
 */
public class Assistant {
    private String id;
    private String name;
    private String description;
    private String iconPath;
    private String category;
    private String modelType; // 使用的AI模型类型
    
    /**
     * 构造函数
     */
    public Assistant(String id, String name, String description, String iconPath, String category, String modelType) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.iconPath = iconPath;
        this.category = category;
        this.modelType = modelType;
    }
    
    /**
     * 默认构造函数
     */
    public Assistant() {
        this("default", "默认助手", "通用AI助手，可回答各类问题", 
            "/com/aiassistant/images/assistants/default.png", "我的", "默认模型");
    }
    
    // Getter 和 Setter 方法
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIconPath() {
        return iconPath;
    }

    public void setIconPath(String iconPath) {
        this.iconPath = iconPath;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getModelType() {
        return modelType;
    }

    public void setModelType(String modelType) {
        this.modelType = modelType;
    }
    
    @Override
    public String toString() {
        return name;
    }
} 